<template>
	<div></div>
</template>

<script setup lang="ts" name="EditForm">
import { watch } from 'vue';

const props = defineProps({
	// 列表内容
	data: {
		type: Object,
		default: () => {},
	},
});

watch(
	() => props.isRight,
	(val) => {
		if (val) {
			type.value = props.data.type;
			if (tabType.value) {
				tab(tabType.value);
			}
		}
	}
);
</script>

<style scoped lang="scss"></style>
